import { UserPhotoDTO, UserRolePermissionDTO } from '../data/user.dto.ts';
import { ROLE_TYPE } from '../config/enum.ts';

export interface CreateUser {
  name: string;
}

export interface UserRole {
  _id: string;
  name: string;
  description?: string;
  isActive: boolean;
  type: ROLE_TYPE;
  permissions: RolePermission[];
  createdAt: string;
  updatedAt: string;
}

export interface RolePermission extends UserRolePermissionDTO {}
export interface UserPhoto extends UserPhotoDTO {}
